package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * ipsa同步的在职人员信息对象 employee
 *
 * @author ruoyi
 * @date 2024-11-23
 */
public class Employee extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    private String id;

    /**
     * 员工号
     */
    @Excel(name = "员工号")
    private String empNo;

    /**
     *
     */
    @Excel(name = "")
    private String empName;

    /**
     * 邮箱
     */
    @Excel(name = "邮箱")
    private String email;

    /**
     * 手机号
     */
    @Excel(name = "手机号")
    private String tel;

    /**
     * 事业本部ID
     */
    @Excel(name = "事业本部ID")
    private String bdId;

    /**
     * 事业本部编号
     */
    @Excel(name = "事业本部编号")
    private String bdNo;

    /**
     * 事业群ID
     */
    @Excel(name = "事业群ID")
    private String bgId;

    /**
     * 事业群编号
     */
    @Excel(name = "事业群编号")
    private String bgNo;

    /**
     * 事业群id
     */
    @Excel(name = "事业群id")
    private String buId;

    /**
     * 利润中心编号
     */
    @Excel(name = "利润中心编号")
    private String buNo;

    /**
     * 事业本部名称
     */
    @Excel(name = "事业本部名称 ")
    private String bdName;

    /**
     * 事业群名称
     */
    @Excel(name = "事业群名称")
    private String bgName;

    /**
     * 利润中心名称，业务线名称
     */
    @Excel(name = "利润中心名称，业务线名称")
    private String buName;

    /**
     * 入职日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入职日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date comeDate;

    /**
     * 职位名称
     */
    @Excel(name = "职位名称")
    private String dutyName;

    /**
     * 公司编码
     */
    @Excel(name = "公司编码")
    private String companyNo;

    /**
     * 公司名称
     */
    @Excel(name = "公司名称")
    private String companyName;

    /**
     * 部门组
     */
    @Excel(name = "部门组")
    private String deptGroup;

    /**
     * 属地
     */
    @Excel(name = "属地")
    private String ccRegionName;

    /**
     * 部门编号
     */
    @Excel(name = "部门编号")
    private String departmentNo;

    /**
     * 部门名称
     */
    @Excel(name = "部门名称")
    private String departmentName;

    /**
     * 工作地
     */
    @Excel(name = "工作地")
    private String workLocation;

    /**
     * 创建人
     */
    @Excel(name = "创建人")
    private String createdBy;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;

    /**
     * 更新人
     */
    @Excel(name = "更新人")
    private String updatedBy;

    /**
     * 1删除
     */
    @Excel(name = "1删除")
    private Long deleted;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getEmpNo() {
        return empNo;
    }

    public void setEmpNo(String empNo) {
        this.empNo = empNo;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getBdId() {
        return bdId;
    }

    public void setBdId(String bdId) {
        this.bdId = bdId;
    }

    public String getBdNo() {
        return bdNo;
    }

    public void setBdNo(String bdNo) {
        this.bdNo = bdNo;
    }

    public String getBgId() {
        return bgId;
    }

    public void setBgId(String bgId) {
        this.bgId = bgId;
    }

    public String getBgNo() {
        return bgNo;
    }

    public void setBgNo(String bgNo) {
        this.bgNo = bgNo;
    }

    public String getBuId() {
        return buId;
    }

    public void setBuId(String buId) {
        this.buId = buId;
    }

    public String getBuNo() {
        return buNo;
    }

    public void setBuNo(String buNo) {
        this.buNo = buNo;
    }

    public String getBdName() {
        return bdName;
    }

    public void setBdName(String bdName) {
        this.bdName = bdName;
    }

    public String getBgName() {
        return bgName;
    }

    public void setBgName(String bgName) {
        this.bgName = bgName;
    }

    public String getBuName() {
        return buName;
    }

    public void setBuName(String buName) {
        this.buName = buName;
    }

    public Date getComeDate() {
        return comeDate;
    }

    public void setComeDate(Date comeDate) {
        this.comeDate = comeDate;
    }

    public String getDutyName() {
        return dutyName;
    }

    public void setDutyName(String dutyName) {
        this.dutyName = dutyName;
    }

    public String getCompanyNo() {
        return companyNo;
    }

    public void setCompanyNo(String companyNo) {
        this.companyNo = companyNo;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getDeptGroup() {
        return deptGroup;
    }

    public void setDeptGroup(String deptGroup) {
        this.deptGroup = deptGroup;
    }

    public String getCcRegionName() {
        return ccRegionName;
    }

    public void setCcRegionName(String ccRegionName) {
        this.ccRegionName = ccRegionName;
    }

    public String getDepartmentNo() {
        return departmentNo;
    }

    public void setDepartmentNo(String departmentNo) {
        this.departmentNo = departmentNo;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String getWorkLocation() {
        return workLocation;
    }

    public void setWorkLocation(String workLocation) {
        this.workLocation = workLocation;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public String getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
    }

    public Long getDeleted() {
        return deleted;
    }

    public void setDeleted(Long deleted) {
        this.deleted = deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
               .append("id", getId())
               .append("empNo", getEmpNo())
               .append("empName", getEmpName())
               .append("email", getEmail())
               .append("tel", getTel())
               .append("bdId", getBdId())
               .append("bdNo", getBdNo())
               .append("bgId", getBgId())
               .append("bgNo", getBgNo())
               .append("buId", getBuId())
               .append("buNo", getBuNo())
               .append("bdName", getBdName())
               .append("bgName", getBgName())
               .append("buName", getBuName())
               .append("comeDate", getComeDate())
               .append("dutyName", getDutyName())
               .append("companyNo", getCompanyNo())
               .append("companyName", getCompanyName())
               .append("deptGroup", getDeptGroup())
               .append("ccRegionName", getCcRegionName())
               .append("departmentNo", getDepartmentNo())
               .append("departmentName", getDepartmentName())
               .append("workLocation", getWorkLocation())
               .append("createdBy", getCreatedBy())
               .append("createdTime", getCreatedTime())
               .append("updatedTime", getUpdatedTime())
               .append("updatedBy", getUpdatedBy())
               .append("deleted", getDeleted())
               .toString();
    }
}
